home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Franz PD / Franz PD Disk #067 (1990-04)(Amiga User Group Deutschland e.V.).zip / Franz PD Disk #067 (1990-04)(Amiga User Group Deutschland e.V.).adf / Include / ConsoleUtils.i < prev    next >
Text File  |  1989-07-02  |  929b  |  33 lines

  1.  
  2. {
  3.     ConsoleUtils.i
  4.         This file defines the console.devices functions, as well as
  5.     two functions used to initialize and close the device.  Note that
  6.     there is another include file which defines KeyPressed, ReadKey,
  7.     AttachConsole, etc.  I kept these two files seperate because I
  8.     think they would rarely be used together.
  9.         The source for the first two functions, which are written in
  10.     Pascal, are in RunTime/Extras.  The source for the second two,
  11.     which are just stubs, is in RunTime/System.
  12. }
  13.  
  14. {$I "Include/ExecIO.i"}
  15. {$I "Include/InputEvent.i"}
  16.  
  17. var
  18.     ConsoleBase : Address;
  19.     ConsoleRequest : IOStdReq;
  20.  
  21. Procedure OpenConsoleDevice;
  22.     External;
  23.  
  24. Procedure CloseConsoleDevice;
  25.     External;
  26.  
  27. Function RawKeyConvert(event : InputEventPtr; Buffer : String;
  28.             Length : Integer; KeyMap : Address) : Integer;
  29.     External;
  30.  
  31. Function CDInputHandler(events : InputEventPtr; con : Address) : InputEventPtr;
  32.     External;
  33.